package com.education.welco.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: liftsail
 * @Date: 2022/9/23 11:41
 * @Description: 不积跬步无以至千里
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PathNodeVO {
    /**
     * 用户文件Id
     */
    private String id;
    /**
     * 父id
     */
    private String pid;
    /**
     * 用户文件名
     */
    private String name;

    public PathNodeVO self() {
        return this;
    }

    public PathNodeVO selfPidBlack() {
        PathNodeVO pathNodeVO;
        pathNodeVO = this;
        pathNodeVO.setPid("");
        return pathNodeVO;
    }
}
